<?php
/**
 * Point admin
 * หน้าแรกของ Point admin zone
 * ประบกอบด้วยรายงาน และ search
 * @package Member
 * @subpackage View
 * @category view
 */
require('right_bar.php');
$x['AddTitle'] .= $this->lang->line('member.140.pointsystem');

/* Load CSS */
$tmp = array('a:c:validationEngine.jquery', 'a:c:form_signup', 'a:c:excite-bike:jqui184', 'a:c:table-style');
$x['AddHead'] .= $this->bee->AddCss($tmp);
unset($tmp);
// Load CSS
/* Load JavaScript*/
$tmp = array('a:j:jquery.validationEngine-en', 'a:j:jquery.validationEngine');
$bf['AddFoot'] .= $this->bee->AddJava($tmp);
unset($tmp);
// Load JavaScript 

$x['AddCss'] .= '';
$bf['AddHeadJquery'] .= '
     $(".form_blue").validationEngine();
     ';

$x['headlink'] = $this->lang->line('member.140.pointsystem');

$this->admin->view('_head', $x);
unset($x);
?>
<div id="rightnow">
    <h3 class="reallynow">
        <span><?php echo $this->lang->line("member.140.pointsystem");?></span>
        
        <br />
    </h3>
    
    <form action="<?php echo site_url('member/admin/search/')?>" method="post" class="form_blue">
        <fieldset>
            <legend><?php echo $this->lang->line("mem.21.searchmember")?></legend>
            <label for="login"><?php echo $this->lang->line("mem.23.useroremail");?></label>
            <input type="text" name="login" id="login" class="validate[required,length[1,25]]" /><input type="submit" name="submit" value="submit" />
        </fieldset>
    </form>
    

</div>
<h2><?php echo $this->lang->line('mem.30.memberreport')?></h2>
<table class="btable">
    <tr>
        <td><?php echo $this->lang->line('member.141.sumscore')?></td>
        <td><?php echo $allscore;?></td>
    </tr>

</table>

<?php
$this->admin->view('_foot', $bf);
unset($bf);
?>